package com.moyun.search.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * ES搜索引擎配置
 * @author: zealon
 * @since: 2021/12/17
 */
@Configuration
@ConfigurationProperties("elastic-search")
@Data
public class ElasticSearchConfig {
    /** 服务器地址 */
    private String servers;
    /** 索引 */
    private String indexName;
    /** 类型 */
    private String type;
    /** 别名 */
    private String aliasName;
}
